home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / pine / imap-3.0 / MailManager / MBoxWindow.h < prev    next >
Encoding:
Text File  |  1992-04-07  |  5.6 KB  |  175 lines

  1. /*
  2.  * Program:    Distributed Electronic Mail Manager (MBoxWindow object)
  3.  *
  4.  * Author:    Mark Crispin
  5.  *        Networks and Distributed Computing
  6.  *        Computing & Communications
  7.  *        University of Washington
  8.  *        Administration Building, AG-44
  9.  *        Seattle, WA  98195
  10.  *        Internet: MRC@CAC.Washington.EDU
  11.  *
  12.  * Date:    1 March 1989
  13.  * Last Edited:    7 April 1992
  14.  *
  15.  * Copyright 1991 by the University of Washington
  16.  *
  17.  *  Permission to use, copy, modify, and distribute this software and its
  18.  * documentation for any purpose and without fee is hereby granted, provided
  19.  * that the above copyright notice appears in all copies and that both the
  20.  * above copyright notice and this permission notice appear in supporting
  21.  * documentation, and that the name of the University of Washington not be
  22.  * used in advertising or publicity pertaining to distribution of the software
  23.  * without specific, written prior permission.  This software is made
  24.  * available "as is", and
  25.  * THE UNIVERSITY OF WASHINGTON DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED,
  26.  * WITH REGARD TO THIS SOFTWARE, INCLUDING WITHOUT LIMITATION ALL IMPLIED
  27.  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, AND IN
  28.  * NO EVENT SHALL THE UNIVERSITY OF WASHINGTON BE LIABLE FOR ANY SPECIAL,
  29.  * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  30.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, TORT
  31.  * (INCLUDING NEGLIGENCE) OR STRICT LIABILITY, ARISING OUT OF OR IN CONNECTION
  32.  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  33.  *
  34.  */
  35.  
  36. @interface MBoxWindow : Object
  37. {
  38.   id debugging;            // switch for debug
  39.   id zooming;            // switch for zooming
  40.   id copy;            // copy button
  41.   id keyword;            // keyword button
  42.   id delete;            // delete button
  43.   id flag;            // flag button
  44.   id forward;            // forward button
  45.   id reply;            // reply button
  46.   id keywordItems;        // scroll view of keywords
  47.   id keywordPanel;        // panel for Keyword command
  48.   id messageItems;        // scroll view of message item browser
  49.   id selectPanel;        // panel for Select command
  50.   id selectAfter;        // messages "after" a date
  51.   id selectAnswered;        // answered messages
  52.   id selectBefore;        // messages "before" a date
  53.   id selectCc;            // messages with an address in cc
  54.   id selectDate2;        // view of second date field
  55.   id selectDate2Super;        // superview of second date field
  56.   id selectDateText;        // date field for date/after/before
  57.   id selectDateText2;        // second date field
  58.   id selectDeleted;        // deleted messages
  59.   id selectFlagged;        // flagged messages
  60.   id selectFrom;        // messages with an address in from
  61.   id selectNew;            // new messages
  62.   id selectOld;            // old messages
  63.   id selectOther;        // miscellaneous addition to search ucode
  64.   id selectRecent;        // recent messages
  65.   id selectRetain;        // retain previous selection
  66.   id selectSeen;        // seen messages
  67.   id selectSubject;        // messages with a text in subject
  68.   id selectText;        // messages with a text in body
  69.   id selectTexts;        // form for all the texts
  70.   id selectTo;            // messages with an address in to
  71.   id selectUnanswered;        // unanswered messages
  72.   id selectUndeleted;        // undeleted messages
  73.   id selectUnflagged;        // unflagged messages
  74.   id selectUnseen;        // unseen messages
  75.   id window;            // our window for titles
  76.   id browser;            // message browser matrix
  77.   id zoomer;            // message zoomed browser matrix
  78.   id keywords;            // keyword browser matrix
  79.   ReadWindow *reader;        // created read window
  80.   NXRect windowFrame;        // frame of browser window
  81.   MAILSTREAM *mailStream;    // current operational stream
  82.   int nmsgs;            // number of messages in browser
  83.   char sequence[16*TMPLEN];    // message sequence string
  84.   DPSTimedEntry entryID;    // timed entry identifier
  85.   BOOL OK;            // flag if OK vs. Cancel hit
  86. }
  87.  
  88. + new;
  89. - setMessageItems:anObject;
  90. - setWindow:anObject;
  91. - setStream:(MAILSTREAM *) stream;
  92. - updateTitle;
  93. - (int) updateSequence;
  94. - window;
  95. - searched:(int) msgno;
  96. - exists:(int) msgno;
  97. - expunged:(int) msgno;
  98. - check:sender;
  99. - noop:sender;
  100. - exit:sender;
  101. - expunge:sender;
  102. - close;
  103. - windowWillClose:sender;
  104. - windowDidMove:sender;
  105. - windowWillResize:sender toSize:(NXSize *) frameSize;
  106. - setDebugging:anObject;
  107. - debug:sender;
  108. - setZooming:anObject;
  109. - zoom:sender;
  110. - setKeywordPanel:anObject;
  111. - setKeywordItems:anObject;
  112. - setKeyword:anObject;
  113. - keyword:sender set:(BOOL) set;
  114. - keywordClear:sender;
  115. - keywordSet:sender;
  116. - (char *) getKeywords;
  117. - keywordCancel:sender;
  118. - keywordOK:sender;
  119. - setCopy:sender;
  120. - fileCopy:sender;
  121. - fileMove:sender;
  122. - copy:sender delete:(BOOL) del;
  123. - newMailbox:sender;
  124. - print:sender;
  125. - help:sender;
  126. - readMessage:sender;
  127. - setDelete:anObject;
  128. - setFlag:anObject;
  129. - delete:sender;
  130. - flag:sender;
  131. - undelete:sender;
  132. - unflag:sender;
  133. - setForward:anObject;
  134. - forward:sender;
  135. - remail:sender;
  136. - setReply:anObject;
  137. - reply:sender all:(BOOL) all;
  138. - replyAll:sender;
  139. - replySender:sender;
  140.  
  141. - setSelectPanel:anObject;
  142. - setSelectAfter:anObject;
  143. - setSelectAnswered:anObject;
  144. - setSelectBefore:anObject;
  145. - setSelectCc:anObject;
  146. - setSelectDate2:anObject;
  147. - setSelectDateText:anObject;
  148. - setSelectDateText2:anObject;
  149. - setSelectDeleted:anObject;
  150. - setSelectFlagged:anObject;
  151. - setSelectFrom:anObject;
  152. - setSelectNew:anObject;
  153. - setSelectOld:anObject;
  154. - setSelectOther:anObject;
  155. - setSelectRecent:anObject;
  156. - setSelectRetain:anObject;
  157. - setSelectSeen:anObject;
  158. - setSelectSubject:anObject;
  159. - setSelectText:anObject;
  160. - setSelectTexts:anObject;
  161. - setSelectTo:anObject;
  162. - setSelectUnanswered:anObject;
  163. - setSelectUndeleted:anObject;
  164. - setSelectUnflagged:anObject;
  165. - setSelectUnseen:anObject;
  166. - select:sender;
  167. - selectHelp:sender;
  168. - selectDate:sender;
  169. - selectAfter:sender;
  170. - selectBefore:sender;
  171. - selectOK:sender;
  172. - selectNull:sender;
  173.  
  174. @end
  175.